<?php
include_once('../include/init.php');
 global $db;$str="";$date=array();
    $examid=fs_get_value("examid");
    $parts_rows=$db->query("select * from fooeeexam_exam_part where exam_id=".$examid);
    while($rows =$db->fetch_array($parts_rows)){
        $str .='<option value="'.$rows['exam_part_id'].'">'.$rows['exam_part_title'].'<option>';
    }
   // $data['status']=1;
    //$data['html']=$str;
    header("Content-Type:text/html; charset=utf-8");
    echo $str;exit;
?>
